﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Nancy;

namespace customer.dao
{
    public class HomeModule : NancyModule
    {
        public HomeModule()
        {

            Get("/", r => "DAO");
            Get("/{name}", r => "简单的路由模板，路由参数：" + r.name);
            Get("/404", r => HttpStatusCode.NotFound);

            
        }

       
    }
}
